﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using BLL;

public partial class bwjc_Bwmsg : System.Web.UI.Page
{
    string type = "";
    public string show = "";

    BLLData bd = new BLLData();

    protected void Page_Load(object sender, EventArgs e)
    {
        string ID_KEY = HttpUtility.UrlDecode(Request.QueryString["id"]);
        string para = HttpUtility.UrlDecode(Request.QueryString["para"]);

        if (para == "gs")
            type = "公式";
        else if (para == "gscs")
            type = "公式参数";
        else if (para == "sql")
            type = "SQL语句";

        if (!IsPostBack)
        {
            if (ID_KEY != "")
            {
                DataRow dr = bd.retTableRowById(ID_KEY);
                show = dr[type].ToString();
            }
        }
    }
}
